php array remove the last element

37

$new = array_slice($old, -1)
$a5 = array_slice($arr, -5);

Comments

Submit
0 Comments